Java Native Interface

JavaTM Native Interface (JNI) is a standard programming interface for writing Java native methods and embedding the JavaTM virtual machine* into native applications. The primary goal is binary compatibility of native method libraries across all Java virtual machine implementations on a given platform.

JNI 6.0 API Specification

JNI API Enhancements

  • JNI FAQ
  • A shared stub is a single JNI native method that can dispatch to many C functions. You can download the complete example from here:

More Information

*As used on this web site, the terms "Java virtual machine" or "JVM" refers to a virtual machine for the Java platform.


Oracle and/or its affiliates
Java Technology

Copyright © 1993, 2018, Oracle and/or its affiliates. All rights reserved.

Contact Us


AltStyle によって変換されたページ (->オリジナル) /